﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Amazon.Route53.DataContracts
{
    [DataContract(Namespace = Constants.Namespace)]
    public class ListResourceRecordSetsResponse
    {
        /// <summary>
        /// Information about multiple resource record sets
        /// </summary>
        [DataMember(Order=1)]
        public List<ResourceRecordSet> ResourceRecordSets { get; set; }

        /// <summary>
        /// A flag that indicates whether more resource record sets remain to be listed. 
        /// If your results were truncated, you can make a follow-up pagination request by using the NextRecordName request.
        /// </summary>
        [DataMember(Order=2)]
        public Boolean IsTruncated { get; set; }

        /// <summary>
        /// The maximum number of records you requested.(Not greater than 100)
        /// </summary>
        [DataMember(Order=3)]
        public int MaxItems { get; set; }

        /// <summary>
        /// the results were truncated, the name of the next record in the list.
        /// This element is present only if IsTruncated is true.
        /// </summary>
        [DataMember(Order=4)]
        public String NextRecordName { get; set; }

        /// <summary>
        /// If the results were truncated, the type of the next record in the list.
        /// This element is present only if IsTruncated is true.
        /// </summary>
        [DataMember(Order=5)]
        public DomainNameType NextRecordType { get; set; }


    }
}
